<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="_static_resource/css/common.css">
    <link rel="stylesheet" href="_static_resource/css/iconfont.css">
    <link rel="stylesheet" href="_static_resource/css/body.css">
    <title>Knowledge</title>
</head>

<body>
    {include file="pub/header" /}

    <!-- body start -->
    <div class="clearboth"></div>
    <div class="container">
        <!-- left start -->
        <div class="bleft">
            <div class="sharebox sims">
                <div class="sharetitle toppv">
                    <ul>
                        {if condition="isset($category_by)"}
                        {volist name="sonL" id="vk"}
                        <li class="scate <?php if($category_by == $vk['navigate_id']){echo 'sharetitle_active';}?>"
                            setcategory_by="{$vk.navigate_id}" setnid="{$nid}">
                            {$vk.navigate_name}</li>
                        {/volist}
                        {else/}
                        {volist name="sonL" id="vk"}
                        <li class="scate" setcategory_by="{$vk.navigate_id}" setnid="{$nid}">{$vk.navigate_name}</li>
                        {/volist}
                        {/if}
                        <!-- <li class="sharetitle_active">我的相册</li>
                        <li>我的日志</li> -->
                    </ul>
                </div>

                {if condition="$category_by eq 11"}
                <div class="sharecontent photobox">
					{if condition="!is_null($contentL)"}
					<ul>
					{volist name="contentL" id="cl"}
					<li>
						<div class="photo_lbox">
							<div><img src="{$cl.head_thumb}" alt=""></div>
							<div>
								<p class="photo_title">{$cl.title}</p>
								<p class="photo_time">更新时间:<span>{$cl.updatetime|date="Y-m-d",###}</span><a
										href="{:url('/index/life/showphoto',array('nid'=>$cl.topcate_id,'category_by'=>$cl.cid,'pname'=>$cl.photo_id))}"
										class="photoBtn">查看详情</a>
								</p>
							</div>
						</div>
					</li>
					{/volist}
					<p style="color:#666">相关数据暂无</p>
					{else/}
					</ul>
					{/if}
                </div>
                {else/}
                <div class="sharecontent">
                    {if condition="$contentL"}
                    {volist name="contentL" id="cll"}
                    <div class="article_list">
                        <h4>{$cll.title}</h4>
                        <p class="isshortinfo"><small>发布时间: {$cll.issuetime|date="Y-m-d",###} 编辑：[ <a
                                    href="javascript:void(0)" style="color:#1d89e8;text-decoration:none">站长</a> ] 分类：[
                                <span style="color:#1d89e8">分享</span> ]</small></p>
                        <div class="article_intro">
                            <figure><img src="_static_resource/img/img.jpg" alt=""></figure>
                            <div class="article_word">
								{$cll.desc}
                            </div>
                            <div class="debtn">
                                <div class="clearboth"></div>
                                <a
                                    href="{:url('/index/article/aprev',array('nid'=>$cll.topcate_id,'category_by'=>$cll.cid,'itemsid'=>$cll.art_id))}">了解详情</a>
                            </div>
                        </div>
                    </div>
                    {/volist}
                    {else/}
                    <p style="color:#666">相关数据暂无</p>
                    {/if}
                </div>
                {/if}
            </div>
        </div>
        <!-- left end -->

        <!-- right start -->
        <div class="bright">
            {include file="pub/bright_index" /}
        </div>

        <!-- right end -->
    </div>
    <!-- body end-->
    <!-- footer -->
    <div class="clearboth"></div>
    {include file="pub/footer"/}
</body>
{if condition="!isset($category_by)"}
<script>
    $(document).ready(function () {
        $("div.toppv").find("li").eq(0).addClass("sharetitle_active");
    })
</script>
{/if}

</html>